$(function () {
    // 轮播图1
    var swiper = new Swiper('#banner', {
        spaceBetween: 30,
        centeredSlides: true,
        autoplay: {
            delay: 3000,
            disableOnInteraction: false,
        },
        pagination: {
            el: '.swiper-pagination',
            clickable: true,
        },
    });
    // 轮播图2
    var swiper1 = new Swiper('#banner1', {
        slidesPerView: 3,
        spaceBetween: 60,
        autoplay: {
            delay: 3000,
            disableOnInteraction: false,
        },
        navigation: {
            nextEl: '.swiper-button-next',
            prevEl: '.swiper-button-prev',
        },
    });
    // // 鼠标经过切换
    // $('.productNum a').mouseenter(function () {
    //     var i = $(this).index();  //获取当前下标数
    //     $(this).addClass('on').siblings().removeClass('on');
    //     $('.detils li').eq(i).addClass('show').siblings().removeClass('show');
    // });
})